import { scheduleUpdate } from "../reconciliation"

export class Component {
  constructor(props) {
    this.props = props
  }
  setState (partialState) {//局部
    scheduleUpdate(this, partialState)//进程更新
  }
}